<include file="Public:header" />
<div class="main">
            <div class="box_tit">
                <h2>添加内容</h2>
            </div>
            <div class="form_list">
                <form method='post' id="form1" name="form1" action="{:U('Download/insert')}"  enctype="multipart/form-data">
                <div class="listtop">
                <dl>
                    <dt> 栏目：</dt>
                    <dd>
                        <label class="label">{$catid|getCategoryName}</label><input type="hidden" name="catid" value="{$catid}">
                    </dd>
                </dl>
                <dl>
                    <dt> 标题：</dt>
                    <dd>
                        <input type="text" class="ipt8" name="title"><strong class="red">*</strong>
                    </dd>
                </dl>
                <dl>
                    <dt> 关键字：</dt>
                    <dd>
                        <input type="text" class="ipt6" name="keywords">
                    </dd>
                </dl>
                <dl>
                    <dt> 缩略图：</dt>
                    <dd>
                        <input name="thumb" class="thumb" type="file" />
                    </dd>
                </dl>
                <dl>
                    <dt>本地下载1：</dt>
                    <dd><input type="file" class="thumb" name="file1" /></dd>
                </dl>
                <dl>
                        <dt>本地下载2：</dt>
                        <dd><input type="file" class="thumb" name="file2" /></dd>
                </dl>
                <dl>
                        <dt>本地下载3：</dt>
                        <dd><input type="file" class="thumb" name="file3" /></dd>
                </dl>
                <dl>
                        <dt>本地下载4：</dt>
                        <dd><input type="file" class="thumb" name="file4" /></dd>
                </dl>
                <dl>
                        <dt>本地下载5：</dt>
                        <dd><input type="file" class="thumb" name="file5" /></dd>
                </dl>
                <dl>
                        <dt>网络地址1：</dt>
                        <dd><input type="text" class="ipt6" name="file_url1"></dd>
                </dl>
                <dl>
                        <dt>网络地址2：</dt>
                        <dd><input type="text" class="ipt6" name="file_url2"></dd>
                </dl>
                <dl>
                        <dt>网络地址3：</dt>
                        <dd><input type="text" class="ipt6" name="file_url3"></dd>
                </dl>
                <dl>
                        <dt>网络地址4：</dt>
                        <dd><input type="text" class="ipt6" name="file_url4"></dd>
                </dl>
                <dl>
                        <dt>网络地址5：</dt>
                        <dd><input type="text" class="ipt6" name="file_url5"></dd>
                </dl>
                <dl>
                    <dt> 内容：</dt>
                </dl>
                </div>
                <div class="listbottom">
                    <textarea name="content" id="myEditor"></textarea>
                    <script type="text/javascript">
                        var editor = new UE.ui.Editor();
                        editor.render("myEditor");
                        //1.2.4以后可以使用一下代码实例化编辑器
                        //UE.getEditor('myEditor')
                    </script>
                </div>
                <div class="form_b">
                    <input type="submit" class="submit btn7" id="submit" value="提 交">
                </div>
               </form>
            </div>
</div>
<include file="Public:footer" />